package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 桌号对象 tb_business_table
 * 
 * @author ruoyi
 * @date 2023-02-03
 */
public class TbBusinessTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商户id */
    @Excel(name = "商户id")
    private Long businessId;

    /** 桌号 */
    @Excel(name = "桌号")
    private Long tableNum;

    /** 桌号二维码 */
    @Excel(name = "桌号二维码")
    private String tableCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setTableNum(Long tableNum) 
    {
        this.tableNum = tableNum;
    }

    public Long getTableNum() 
    {
        return tableNum;
    }
    public void setTableCode(String tableCode) 
    {
        this.tableCode = tableCode;
    }

    public String getTableCode() 
    {
        return tableCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessId", getBusinessId())
            .append("tableNum", getTableNum())
            .append("tableCode", getTableCode())
            .toString();
    }
}
